package com.mzj.saas.mservice.property.entity;


import com.mzj.saas.commons.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "saas_department_remaining")
public class DepartmentRemaining extends IdEntity {

    /**
     * 组织机构id
     */
    @Basic
    @Column(name = "dep_id", nullable = true)
    private Long depId;
    /**
     * 机构名
     */
    @Basic
    @Column(name = "dep_name", nullable = true)
    private String depName;
    /**
     * 房屋id
     */
    @Basic
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /**
     * 收款机构id
     */
    @Basic
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /**
     * 账户可用余额
     */
    @Basic
    @Column(name = "balance_fee", nullable = true)
    private Integer balanceFee;
    /**
     * 押金
     */
    @Basic
    @Column(name = "cash_pledge", nullable = true)
    private Integer cashPledge;

    /**
     * 操作时间
     */
    @Basic
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;
    /**
     * 创建时间
     */
    @Basic
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /**
     * 状态：1正常 2已删除
     */
    @Basic
    @Column(name = "status", nullable = true)
    private Integer status;

    public Long getDepId() {
        return depId;
    }

    public void setDepId(Long depId) {
        this.depId = depId;
    }

    public String getDepName() {
        return depName;
    }

    public void setDepName(String depName) {
        this.depName = depName;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getBalanceFee() {
        return balanceFee;
    }

    public void setBalanceFee(Integer balanceFee) {
        this.balanceFee = balanceFee;
    }

    public Integer getCashPledge() {
        return cashPledge;
    }

    public void setCashPledge(Integer cashPledge) {
        this.cashPledge = cashPledge;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
